[INFO] fetching crate tshell 0.2.2...
[INFO] checking tshell-0.2.2 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate tshell 0.2.2 into /workspace/builds/worker-9/source
[INFO] validating manifest of crates.io crate tshell 0.2.2 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tshell 0.2.2
[INFO] finished tweaking crates.io crate tshell 0.2.2
[INFO] tweaked toml for crates.io crate tshell 0.2.2 written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded encode_unicode v0.1.3
[INFO] [stderr]   Downloaded nix v0.5.1
[INFO] [stderr]   Downloaded rustyline v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] baffe3c746fef2c9616763cbebfa0f4652a489075ef79e8ad4ff971e1b57b59f
[INFO] running `Command { std: "docker" "start" "-a" "baffe3c746fef2c9616763cbebfa0f4652a489075ef79e8ad4ff971e1b57b59f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "baffe3c746fef2c9616763cbebfa0f4652a489075ef79e8ad4ff971e1b57b59f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baffe3c746fef2c9616763cbebfa0f4652a489075ef79e8ad4ff971e1b57b59f", kill_on_drop: false }`
[INFO] [stdout] baffe3c746fef2c9616763cbebfa0f4652a489075ef79e8ad4ff971e1b57b59f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb1670425e3deda9331024bcd082947a36de65468357a65f0b1559a115d129a2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cb1670425e3deda9331024bcd082947a36de65468357a65f0b1559a115d129a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking encode_unicode v0.1.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking rustyline v1.0.0
[INFO] [stderr]     Checking tshell v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type CallBack<T> = Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/commands.rs:312:42
[INFO] [stdout]     |
[INFO] [stdout] 312 |             context: Arc::new(Mutex::new((context)))
[INFO] [stdout]     |                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/commands.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let home_dir = env::home_dir()
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]    --> src/commands.rs:321:42
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect();
[INFO] [stdout]     |                                          ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type CallBack<T> = Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/commands.rs:312:42
[INFO] [stdout]     |
[INFO] [stdout] 312 |             context: Arc::new(Mutex::new((context)))
[INFO] [stdout]     |                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/commands.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let home_dir = env::home_dir()
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]    --> src/commands.rs:321:42
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect();
[INFO] [stdout]     |                                          ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> examples/example.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn world(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn world(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:20:42
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn darkness(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<Stri...
[INFO] [stdout]    |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `history`
[INFO] [stdout]   --> examples/example.rs:20:75
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...text: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn new_context(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<S...
[INFO] [stdout]    |                                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `history`
[INFO] [stdout]   --> examples/example.rs:30:78
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...text: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/example.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut context = Context::default();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/example.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut o_context = Some(context);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.81s
[INFO] running `Command { std: "docker" "inspect" "cb1670425e3deda9331024bcd082947a36de65468357a65f0b1559a115d129a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb1670425e3deda9331024bcd082947a36de65468357a65f0b1559a115d129a2", kill_on_drop: false }`
[INFO] [stdout] cb1670425e3deda9331024bcd082947a36de65468357a65f0b1559a115d129a2
